using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ThoiGianGiangDayService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/02/2012 31:11:55</para>
	/// <para>Class Name: ThoiGianGiangDayService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class ThoiGianGiangDayService : IThoiGianGiangDayService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ThoiGianGiang_ID</para>
		/// <para>Output: ThoiGianGiangDayEntity</para>
		///</summary>
		public ThoiGianGiangDayEntity SelectOne(int ThoiGianGiang_ID){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.SelectOne(ThoiGianGiang_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ThoiGianGiangDayEntity</para>
		///</summary>
		public List<ThoiGianGiangDayEntity> SelectAll(){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ThoiGianGiangDayEntity</para>
		///</summary>
		public List<ThoiGianGiangDayEntity> SelectAllFilter(string strFilter){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: Save</para>
		/// <para>Input: ThoiGianGiangDayEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(ThoiGianGiangDayEntity o){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: Save</para>
		/// <para>Input: ThoiGianGiangDayEntity</para>
		/// <para>Output: ThoiGianGiangDayEntity</para>
		///</summary>
		public ThoiGianGiangDayEntity SaveRet(ThoiGianGiangDayEntity o){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ThoiGianGiangDayEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<ThoiGianGiangDayEntity> list){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ThoiGianGiangDayEntity</para>
		/// <para>Output: List of ThoiGianGiangDayEntity</para>
		///</summary>
		public List<ThoiGianGiangDayEntity> SaveListRet(List<ThoiGianGiangDayEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: Update</para>
		/// <para>Input: ThoiGianGiangDayEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(ThoiGianGiangDayEntity o){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ThoiGianGiangDayEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<ThoiGianGiangDayEntity> list){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: UpdateThu_ID</para>
		/// <para>Input: NewThu_ID,ThoiGianGiang_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThu_ID(int NewThu_ID,int ThoiGianGiang_ID){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.UpdateThu_ID(NewThu_ID,ThoiGianGiang_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: UpdateTietHoc_ID</para>
		/// <para>Input: NewTietHoc_ID,ThoiGianGiang_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTietHoc_ID(int NewTietHoc_ID,int ThoiGianGiang_ID){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.UpdateTietHoc_ID(NewTietHoc_ID,ThoiGianGiang_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ThoiGianGiangDayEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(ThoiGianGiangDayEntity o){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:26/02/2012 31:11:55</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ThoiGianGiang_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int ThoiGianGiang_ID){
			ThoiGianGiangDayDAO dao = new ThoiGianGiangDayDAO();
			return dao.DeleteByID(ThoiGianGiang_ID);
		}
		#endregion

		#region Select join to ThuTrongTuanTietHoc functions
		#endregion

		#region Select join to ThuTrongTuan functions
		#endregion

		#region Select join to TietHoc functions
		#endregion

		#region Select,delete by ThoiGianGiang_ID functions
		#endregion

		#region Select,delete by Thu_ID functions
		#endregion

		#region Select,delete by TietHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ThoiGianGiangDayWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

